<%@ page language="java" import="java.util.*" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="/struts-tags" prefix="s" %>
<html>
  <head>
    <base href="<%=basePath%>"/>
    
   <title>当当网登录页面</title>
<link href="css/global.css" rel="stylesheet" type="text/css" />
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/login.js"></script>
</head>

<body>
<div id="header">
   <div class="login_header_left"><img src="images/logo.gif" alt="logo"/></div>
   <div class="login_header_mid"><img src="images/login_header.gif" alt="header"/></div>
   <div class="login_header_right"><a href="mainAction" class="blue">首页</a> | <a href="product.html" class="blue">商品展示页</a>  | <a href="user/userAction" class="blue">注册</a></div>
</div>

<div id="main">
  <div class="login_main_left">
     <div><img src="images/login_main_01.jpg" alt="中间图片"/>
          <img src="images/login_main_02.jpg" alt="中间图片"/>
          <img src="images/login_main_03.jpg" alt="中间图片"/>
    </div>
     <div class="login_main_end">
       <dl class="login_green">
          <dt>更多选择、更低价格</dt>
          <dd>100万种商品包含图书、数码、美妆、运动健康等，价格低于地面店20%以上</dd>
       </dl>
       
         <div class="login_main_dotted"></div>
       <dl class="login_green">
          <dt>全场免运费、货到付款</dt>
          <dd>免费送货上门、360个城市货到付款。另有网上支付、邮局汇款等多种支付方式</dd>
       </dl>
       
       <div class="login_main_dotted"></div>
      <dl class="login_green">
          <dt>真实、优质的商品评论</dt>
          <dd>千万用户真实、优质的商品评论，给您多角度、全方位的购物参考</dd>
       </dl>
    </div>
  </div>
  <div class="login_main_mid">
    <div class="login_content_top">请登录当当网</div>
    <div class="login_content_line"></div>
    <s:form action="user/userAction!doLogin" onsubmit="return checkLogin()" name="form1" id="form1">
    <dl class="login_content">
       <dt>邮箱：</dt>
       <dd><s:textfield id="email" cssClass="login_content_input" onfocus="emailFocus()" onblur="emailBlur()" name="user.email"/></dd>
    </dl>
     <dl class="login_content">
       <dt>密码：</dt>
       <dd><s:password id="pwd" cssClass="login_content_input" onfocus="pwdFocus()" onblur="pwdBlur()" name="user.password"/></dd>
    </dl>
     <dl class="login_content">
       <dt></dt>
       <dd><s:submit value="" id="btn" cssClass="login_btn_out"  onmouseover="this.className='login_btn_over'"  onmouseout="this.className='login_btn_out'"/></dd>
    </dl>
    </s:form>
    <div class="login_content_dotted"></div>
    <div class="login_content_end_bg">
     <div class="login_content_end_bg_top">
    <label class="login_content_bold">还不是当当网用户？</label>快捷方便的免费注册，让你立刻尽享当当网提供的条项优惠服务......
     </div>
     <div class="login_content_end_bg_end">
     <input  class="login_register_out" value=" " type="button" onmouseover="this.className='login_register_over'"  onmouseout="this.className='login_register_out'" onclick="jump()"/>
      </div>
    </div>
   
  </div>
  <div class="login_main_right"><img src="images/login_main_04.jpg" alt="右侧图片"/></div>
</div>

<div id="footer">
<iframe src="${pageContext.request.contextPath}/common/footer.jsp" height="50px" width="900px" frameborder="0"></iframe>
</div>
</body>
</html>
